package com.powernode.service;

import com.powernode.domain.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* ClassName:SysUserService
* Package:com.powernode.service
* Description:
* @date:2025/1/31 15:09
* @author:bailihua
*/
public interface SysUserService extends IService<SysUser>{

        /**
         * 新增管理员
         * @param sysUser
         * @return
         */
        Integer saveSysUser(SysUser sysUser);

        /**
         * 根据标识查询系统管理员信息
         * @param id
         * @return
         */
        SysUser querySysUserInfoByUserId(Long id);

        /**
         * 修改管理员信息
         * @param sysUser
         * @return
         */
        Integer modifySysUserInfo(SysUser sysUser);

        /**
         * 批量/单个删除管理员
         * @param userIds
         * @return
         */
        Boolean removeSysUserListByUserIds(List<Long> userIds);
    }
